package com.hwn.datax.service;


import com.hwn.datax.domain.ServerInfo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【monitor_server_info(服务器监控表)】的数据库操作Service
* @createDate 2023-04-17 21:45:39
*/
public interface ServerInfoService  {

    ServerInfo getById(Integer id);

    List<ServerInfo> list();

    void save(ServerInfo serverInfo);

    /**
     * 测试服务器连接
     * @param serverInfo
     */
    void testConnection(ServerInfo serverInfo);

}
